package com.smfx.yxt.daoSqlserver;

import java.util.List;

import com.smfx.yxt.model.ParentInfo;
import com.smfx.yxt.reqVo.ParentReqVO;
import com.smfx.yxt.view.ParentRelStudentView;

public interface ParentInfoMapper {

	List<ParentInfo> selectList();
	
    int insertSelective(ParentInfo record);

    ParentInfo selectByPrimaryKey(Integer id);
    
    ParentInfo selectByOpenid(String openid);

    int updateByPrimaryKeySelective(ParentInfo record);
    
    int updateForVersionById(ParentInfo record);
    
    int selectCountByOpenid(String openid);
    
    List<ParentRelStudentView> selectStudentListForParent(ParentReqVO vo);
    
    int selectStudentCountForParent(ParentReqVO vo); 
    
    List<ParentRelStudentView> selectListForClass(ParentReqVO vo);
    
    List<ParentInfo> selectParentListByStudentId(Integer studentId);
    
    List<ParentRelStudentView> selectRelStudentByOpenid(String openid);
    
}